package com.itheima.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.pojo.pojo.Module;
import com.itheima.pojo.vo.ModuleVo;
import com.itheima.pojo.vo.ModuleVoAll;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ModuleMapper extends BaseMapper<Module> {
    List<ModuleVo> queryByPage(@Param("name") String username,@Param("ctype") Integer status);
    List<ModuleVoAll> QuertAll(@Param("id") String id);
}
